package com.bg.print.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author liuxvru
 * @email liuxvru@163.com
 * @date 2024-03-25 17:50:46
 */
@Data
@TableName("t_file")
public class FileEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 模型图片
     */
    @Schema(description = "模型图片")
    private String picture;
    /**
     * 模型
     */
    @Schema(description = "模型")
    private String model;

    /**
     * 删除(1删除，0启用)
     */
    @Schema(description = "删除(1删除，0启用)")
    private Integer enabled;

}
